package com.base.spring.security.entity;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;

/**
 * <p>
 * 
 * </p>
 *
 * @author txw
 * @since 2025-01-22
 */
@ApiModel(value = "Authorities对象", description = "")
public class Authorities implements Serializable {

    private static final long serialVersionUID = 1L;

    private String username;

    private String authority;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
    public String getAuthority() {
        return authority;
    }

    public void setAuthority(String authority) {
        this.authority = authority;
    }

    @Override
    public String toString() {
        return "Authorities{" +
            "username=" + username +
            ", authority=" + authority +
        "}";
    }
}
